package org.dong.samples.dao;
import java.util.List;
import java.util.Map;

import org.dong.samples.model.Score;
import org.dong.samples.model.Subject;
import org.dong.samples.model.vo.ScoreVO;

public interface ScoreHibernateDAO extends IBaseDAO<Score> {
	
	public ScoreVO getScoreById(Integer scoreId);
	
	public Score getScore(String userId, Integer subId);
	
	public List<ScoreVO> getAllScore(Map<String, String> conditionMap);
	
	public List<Subject> getAllSubjectByUserId(String userId);
	
	public List<ScoreVO> getScoreBySubject(String subName);

	public List<ScoreVO> getScoreByuserId(String userId);
	
	public List<ScoreVO> getScoreByuserName(String userName);

	public List<ScoreVO> scoreHibernateDAO(String timestamp, String timestamp2);

	public void saveScore(Score score);

	public void saveChengji(int score);
}
